using Godot;
using System;
using System.Collections.Generic;
using System.Runtime;

public partial class DialogManager
{
	//todo
	private static DialogManager _instance = null;
	public static DialogManager getInstance()
	{
		if (_instance == null)
		{
			_instance = new DialogManager();
		}
		return _instance;
	}

	public void openInk(int inkId, Godot.Label textCom)
	{
		//加载ink数据,
	}

	public void openUnderView(int inkId)
	{
		Dictionary<string, object> dict = new Dictionary<string, object>();
		dict.Add("InkId", inkId);
		//打开对话界面
		ViewManager.getInstance().open("", dict);
	}

}
